package com.stylefeng.guns.common.persistence.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2018-10-23
 */
@TableName("collect_complain_news")
public class CollectComplainNews extends Model<CollectComplainNews> {

    private static final long serialVersionUID = 1L;

    /**
     * 投诉对话id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 投诉id
     */
	@TableField("complain_id")
	private Integer complainId;
    /**
     * 用户信息
     */
	@TableField("user_news")
	private String userNews;
    /**
     * app恢复信息
     */
	@TableField("app_news")
	private String appNews;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 投诉状态表1：未处理2：处理中3：完成
     */
	private Integer state;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getComplainId() {
		return complainId;
	}

	public void setComplainId(Integer complainId) {
		this.complainId = complainId;
	}

	public String getUserNews() {
		return userNews;
	}

	public void setUserNews(String userNews) {
		this.userNews = userNews;
	}

	public String getAppNews() {
		return appNews;
	}

	public void setAppNews(String appNews) {
		this.appNews = appNews;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
